<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: MyColleague类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d3/d92/class_my_colleague-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">MyColleague类 参考</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 MyColleague 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d01/class_my_colleague__inherit__graph.png" border="0" usemap="#a_my_colleague_inherit__map" alt="Inheritance graph"/></div>
<map name="a_my_colleague_inherit__map" id="a_my_colleague_inherit__map">
<area shape="rect" title=" " alt="" coords="130,989,306,1160"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,588,314,940"/>
<area shape="poly" title=" " alt="" coords="221,955,221,990,215,990,215,955"/>
<area shape="rect" href="../../df/db8/structprivate_____1_1colleague_base.html" title=" " alt="" coords="5,21,164,91"/>
<area shape="poly" title=" " alt="" coords="85,105,83,183,85,284,94,396,113,507,137,587,132,589,107,509,88,396,80,284,78,183,79,105"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,156,314,508"/>
<area shape="poly" title=" " alt="" coords="110,103,135,155,130,157,105,105"/>
<area shape="rect" title=" " alt="" coords="339,281,524,383"/>
<area shape="poly" title=" " alt="" coords="410,397,377,478,336,565,316,604,311,601,332,563,372,476,405,395"/>
<area shape="poly" title=" " alt="" coords="221,523,221,588,215,588,215,523"/>
<area shape="rect" title=" " alt="" coords="189,5,383,107"/>
<area shape="poly" title=" " alt="" coords="273,122,264,157,259,155,268,120"/>
</map>
</div>
<div class="dynheader">
MyColleague 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/class_my_colleague__coll__graph.png" border="0" usemap="#a_my_colleague_coll__map" alt="Collaboration graph"/></div>
<map name="a_my_colleague_coll__map" id="a_my_colleague_coll__map">
<area shape="rect" title=" " alt="" coords="130,989,306,1160"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,588,314,940"/>
<area shape="poly" title=" " alt="" coords="221,955,221,990,215,990,215,955"/>
<area shape="rect" href="../../df/db8/structprivate_____1_1colleague_base.html" title=" " alt="" coords="5,21,164,91"/>
<area shape="poly" title=" " alt="" coords="85,105,83,183,85,284,94,396,113,507,137,587,132,589,107,509,88,396,80,284,78,183,79,105"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,156,314,508"/>
<area shape="poly" title=" " alt="" coords="110,103,135,155,130,157,105,105"/>
<area shape="rect" title=" " alt="" coords="339,281,524,383"/>
<area shape="poly" title=" " alt="" coords="410,397,377,478,336,565,316,604,311,601,332,563,372,476,405,395"/>
<area shape="poly" title=" " alt="" coords="221,523,221,588,215,588,215,523"/>
<area shape="rect" title=" " alt="" coords="189,5,383,107"/>
<area shape="poly" title=" " alt="" coords="273,122,264,157,259,155,268,120"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a78b09fd3135435a25d674b3a8acd9c70" id="r_a78b09fd3135435a25d674b3a8acd9c70"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a78b09fd3135435a25d674b3a8acd9c70">MyColleague</a> (const std::string &amp;name, std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt; ptr)</td></tr>
<tr class="separator:a78b09fd3135435a25d674b3a8acd9c70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68c5acc20c6d8bb80b931fbec655ac77" id="r_a68c5acc20c6d8bb80b931fbec655ac77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a68c5acc20c6d8bb80b931fbec655ac77">recv</a> (const std::tuple&lt; std::string &gt; &amp;msg) override</td></tr>
<tr class="separator:a68c5acc20c6d8bb80b931fbec655ac77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, std::string &gt;</a></td></tr>
<tr class="memitem:a39c71c2549cd99aa79f5a92100750170 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a39c71c2549cd99aa79f5a92100750170"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a39c71c2549cd99aa79f5a92100750170">colleagueItfc</a> (std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt; m)</td></tr>
<tr class="separator:a39c71c2549cd99aa79f5a92100750170 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b86bd2c781f536b4ad396cdf576d23 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a16b86bd2c781f536b4ad396cdf576d23"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a16b86bd2c781f536b4ad396cdf576d23">~colleagueItfc</a> ()</td></tr>
<tr class="separator:a16b86bd2c781f536b4ad396cdf576d23 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bab3dc52985c6317f56d2d52996a18b inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a8bab3dc52985c6317f56d2d52996a18b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8bab3dc52985c6317f56d2d52996a18b">send</a> (Params &amp;&amp;...args)</td></tr>
<tr class="separator:a8bab3dc52985c6317f56d2d52996a18b inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adee171423e59bc73237881a41cd459f4 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_adee171423e59bc73237881a41cd459f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#adee171423e59bc73237881a41cd459f4">sendTo</a> (std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a> &gt; to, Params &amp;&amp;...args)</td></tr>
<tr class="separator:adee171423e59bc73237881a41cd459f4 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf18ecf6101855f8931eac4aa0ca5d35 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_aaf18ecf6101855f8931eac4aa0ca5d35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#aaf18ecf6101855f8931eac4aa0ca5d35">sendToDests</a> (std::vector&lt; std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a> &gt; &gt; dests, Params &amp;&amp;...args)</td></tr>
<tr class="separator:aaf18ecf6101855f8931eac4aa0ca5d35 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8139331c4d748d261ebd5ecb50c178a inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_ac8139331c4d748d261ebd5ecb50c178a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac8139331c4d748d261ebd5ecb50c178a">recv</a> (const std::tuple&lt; PARAMS... &gt; &amp;tpl)=0</td></tr>
<tr class="separator:ac8139331c4d748d261ebd5ecb50c178a inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_types_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, std::string &gt;</a></td></tr>
<tr class="memitem:a8d96fd02ad0f7ecd434b310e344a17fb inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_a8d96fd02ad0f7ecd434b310e344a17fb"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a></td></tr>
<tr class="separator:a8d96fd02ad0f7ecd434b310e344a17fb inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac148c720bfc57e1ae7c377378584c06f inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_ac148c720bfc57e1ae7c377378584c06f"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a></td></tr>
<tr class="separator:ac148c720bfc57e1ae7c377378584c06f inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3d0ae548207e8d96ed540999a9da7 inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_a00a3d0ae548207e8d96ed540999a9da7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a00a3d0ae548207e8d96ed540999a9da7">tuple_t</a></td></tr>
<tr class="separator:a00a3d0ae548207e8d96ed540999a9da7 inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_attribs_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, std::string &gt;</a></td></tr>
<tr class="memitem:a69edda6c42eadba29bbba2a4673a9645 inherit pro_attribs_structwheels_1_1dm_1_1colleague_itfc" id="r_a69edda6c42eadba29bbba2a4673a9645"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a69edda6c42eadba29bbba2a4673a9645">pt_mediator__</a></td></tr>
<tr class="separator:a69edda6c42eadba29bbba2a4673a9645 inherit pro_attribs_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../df/dbb/mediator_8cpp_source.html">mediator.cpp</a> 第 <a class="el" href="../../df/dbb/mediator_8cpp_source.html#l00014">14</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a78b09fd3135435a25d674b3a8acd9c70" name="a78b09fd3135435a25d674b3a8acd9c70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78b09fd3135435a25d674b3a8acd9c70">&#9670;&#160;</a></span>MyColleague()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MyColleague::MyColleague </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt;</td>          <td class="paramname"><span class="paramname"><em>ptr</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/dbb/mediator_8cpp_source.html">mediator.cpp</a> 第 <a class="el" href="../../df/dbb/mediator_8cpp_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a68c5acc20c6d8bb80b931fbec655ac77" name="a68c5acc20c6d8bb80b931fbec655ac77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68c5acc20c6d8bb80b931fbec655ac77">&#9670;&#160;</a></span>recv()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MyColleague::recv </td>
          <td>(</td>
          <td class="paramtype">const std::tuple&lt; std::string &gt; &amp;</td>          <td class="paramname"><span class="paramname"><em>msg</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/dbb/mediator_8cpp_source.html">mediator.cpp</a> 第 <a class="el" href="../../df/dbb/mediator_8cpp_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>example/<a class="el" href="../../df/dbb/mediator_8cpp_source.html">mediator.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
